package iws.g5.uebung3.matlab;

import iws.g5.uebung3.Simulator;
import iws.g5.uebung3.StateModel;
import iws.g5.uebung3.enums.OrganicType;
import iws.g5.uebung3.gui.Display;
import iws.g5.uebung3.interfaces.OrganicObject;

public class MatlabDisplay implements Display {
	double[][] matlabField;
	int timeIndex;
	
	public double[][] simulate(int iterations) {
		matlabField = new double[3][iterations];	
		timeIndex = 0;
		Simulator sim = new Simulator(this, 0, iterations);
		sim.simulate();
		return matlabField;
	}
	
	@Override
	public void drawEnvironment(StateModel env) {
		// TODO count cells, viruses and food for each iteration
		timeIndex++;
	}
}
